#pragma once
#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
#include<graphics.h>
#include<mmsystem.h>
#pragma comment(lib,"winmm.lib")

#define SNAKE_NUM		500
#define WINDOWS_HEIGHT	480
#define WINDOWS_WIDTH	640
#define Picture_HEIGHT	160
#define Picture_WIDTH	160
#define r_x	200
#define r_y 50

void InterfaceDraw();
void Image();
void Music();
void WindowChange();
void GameInit();
void GameDraw();
void SnakeMove();
void keyControl();
void EatFood(); 
void Mouse();
void Snakedie();

enum DIR
{
	UP,
	DOWN,
	LEFT,
	RIGHT,
};